import { createApp } from "vue";

import App from "./App.vue";
import router from "./route";
import pinia from "./store";
import ConfirmPlugin from './plugins/vConfirm';
import ToastPlugin from './plugins/vToast';
import PopupPlugin from './plugins/vPopup';

import "@/assets/css/style.less";
import "@/assets/css/iconfont/icon.css";
import animateOnScroll from '/animateOnScroll.js'









const app = createApp(App);
app.use(router).use(pinia).use(ConfirmPlugin).use(ToastPlugin).use(PopupPlugin);
app.config.globalProperties.UPLOAD_BASE =
    "http://116.204.117.150:8088/fileUploadServer/";

app.directive('animate-on-scroll', animateOnScroll)


app.directive('showvideo', animateOnScroll)

app.mount("#app");
